An implementation of the [RIPEMD-160][1] cryptographic hash.
# Usage
```rust
# #[macro_use] extern crate hex_literal;
# extern crate ripemd160;
# fn main() {
use ripemd160::{Ripemd160, Digest};
// create a RIPEMD-160 hasher instance
let mut hasher = Ripemd160::new();
// process input message
hasher.input(b"Hello world!");
// acquire hash digest in the form of GenericArray,
// which in this case is equivalent to [u8; 20]
let result = hasher.result();
assert_eq!(result[..], hex!("7f772647d88750add82d8e1a7a3e5c0902a346a3"));
# }
```
Also see [RustCrypto/hashes][2] readme.
[1]: https://en.wikipedia.org/wiki/RIPEMD
[2]: https://github.com/RustCrypto/hashes